﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace LanusMarket.Support
{
    public static class Helper
    {
        public static void SetTitle(this Controller controler)
        {           
            controler.ViewBag.Title = string.Format("{0} {1}", controler.ViewBag.Action, controler.ViewBag.Entity);
        }
    }
}